;**********************************************
;**********************************************
SWITCHMODE			;sw_pre_swing 0

EVENT 0				;VIEW LEFT
BUTTON VK_LEFT
TRIGGER TRIG_DOWN,TRIG_CONTINUOUS,	//single click or double click, one shot, continuous, first then delayed
ENDEVENT

EVENT 1				;VIEW_RIGHT
BUTTON VK_RIGHT,	;left or right mouse
TRIGGER TRIG_DOWN,TRIG_CONTINUOUS,	//single click or double click, one shot, continuous, first then delayed
ENDEVENT

EVENT 39			;club down release
BUTTON VK_DOWN
TRIGGER TRIG_UP,TRIG_SINGLE_CLICK ;single click or double click, one shot, continuous, first then delayed
ENDEVENT

EVENT 2				;club down
BUTTON VK_DOWN
TRIGGER TRIG_DOWN,TRIG_CONTINUOUS ;single click or double click, one shot, continuous, first then delayed
ENDEVENT


EVENT 39			;club up release
BUTTON VK_UP
TRIGGER TRIG_UP,TRIG_SINGLE_CLICK ;single click or double click, one shot, continuous, first then delayed
ENDEVENT

EVENT 3				;club up
BUTTON VK_UP
TRIGGER TRIG_DOWN,TRIG_CONTINUOUS ;single click or double click, one shot, continuous, first then delayed
ENDEVENT


EVENT 0				;VIEW LEFT mouse
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_CONTINUOUS,	//single click or double click, one shot, continuous, first then delayed
MULTIREG 3,242,422,266,441,302,528,333,551,387,676,427,705,0,0,1151,863
ENDEVENT

EVENT 5				;VIEW LEFT mouse release
BUTTON VK_LBUTTON
TRIGGER TRIG_UP,TRIG_SINGLE_CLICK,	//single click or double click, one shot, continuous, first then delayed
MULTIREG 3,242,422,266,441,302,528,333,551,387,676,427,705,0,0,1151,863
ENDEVENT

EVENT 1				;VIEW RT mouse
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_CONTINUOUS,	//single click or double click, one shot, continuous, first then delayed
MULTIREG 2,267,422,291,441,334,528,364,551,428,676,467,705,0,0,1151,863
ENDEVENT

EVENT 5				;VIEW RT mouse release
BUTTON VK_LBUTTON
TRIGGER TRIG_UP,TRIG_SINGLE_CLICK,	//single click or double click, one shot, continuous, first then delayed
MULTIREG 2,267,422,291,441,334,528,364,551,428,676,467,705,0,0,1151,863
ENDEVENT

EVENT 39				;club down mouse release
BUTTON VK_LBUTTON
TRIGGER TRIG_UP,TRIG_SINGLE_CLICK ;single click or double click, one shot, continuous, first then delayed
MULTIREG 3,347,422,371,441,434,528,465,551,555,676,595,705,0,0,1151,863
ENDEVENT

EVENT 2				;club down mouse
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_CONTINUOUS ;single click or double click, one shot, continuous, first then delayed
MULTIREG 3,347,422,371,441,434,528,465,551,555,676,595,705,0,0,1151,863
ENDEVENT


EVENT 39			;club up mouse release
BUTTON VK_LBUTTON
TRIGGER TRIG_UP,TRIG_SINGLE_CLICK ;single click or double click, one shot, continuous, first then delayed
MULTIREG 4,373,422,398,441,466,528,497,551,596,676,636,705,0,0,1151,863
ENDEVENT

EVENT 3				;club up mouse
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_CONTINUOUS ;single click or double click, one shot, continuous, first then delayed
MULTIREG 4,373,422,398,441,466,528,497,551,596,676,636,705,0,0,1151,863
ENDEVENT

EVENT 13				;bring up escape screen / options
BUTTON VK_ESCAPE
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 13				;Bring up options
BUTTON	VK_LBUTTON
TRIGGER	TRIG_DOWN,TRIG_SINGLE_CLICK
MULTIREG 8,292,408,346,442,365,511,433,552,468,655,554,706,0,0,1151,863
ENDEVENT


EVENT 40				;can't start swing, if this happens, it will disallow the start swing below
BUTTON	VK_LBUTTON
TRIGGER	TRIG_DOWN,TRIG_SINGLE_CLICK
MULTIREG 9,232,402,408,449,291,503,509,561,373,645,651,718,0,0,1151,863
ENDEVENT


EVENT 4				;start_swing
BUTTON	VK_LBUTTON
TRIGGER	TRIG_DOWN,TRIG_SINGLE_CLICK
MULTIREG 10,0,0,639,479,0,0,799,599,0,0,1023,767,0,0,1151,863
ENDEVENT

EVENT 38				;start_swing with back spin
BUTTON	VK_RBUTTON
TRIGGER	TRIG_DOWN,TRIG_SINGLE_CLICK
MULTIREG 10,0,0,639,479,0,0,799,599,0,0,1023,767,0,0,1151,863
ENDEVENT


EVENT 35				;set to hole 0 and reload, for course dev
BUTTON VK_SPACE
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 57				;start chat mode
BUTTON VK_RETURN
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 59				;get keyboard letters
BUTTON KEYBOARD
TRIGGER TRIG_DOWN,TRIG_CONTINUOUS
DELAY 20
ENDEVENT

EVENT 60				;shift button down
BUTTON VK_SHIFT
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 61				;shift button up
BUTTON VK_SHIFT
TRIGGER TRIG_UP,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 64				;return button up
BUTTON VK_RETURN
TRIGGER TRIG_UP,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 75				;italk on
BUTTON VK_I
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 76				;italk off
BUTTON VK_I
TRIGGER TRIG_UP,TRIG_SINGLE_CLICK
ENDEVENT

ENDSWITCHMODE

;**********************************************
;**********************************************
SWITCHMODE			;swing mode	1

EVENT 6				;esc_swing
BUTTON VK_ESCAPE
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 6				;esc_swing
BUTTON VK_RBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 6				;esc_swing
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 34			;replay request
BUTTON VK_SPACE
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 57				;start chat mode
BUTTON VK_RETURN
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 59				;get keyboard letters
BUTTON KEYBOARD
TRIGGER TRIG_DOWN,TRIG_CONTINUOUS
DELAY 20
ENDEVENT

EVENT 60				;shift button down
BUTTON VK_SHIFT
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 61				;shift button up
BUTTON VK_SHIFT
TRIGGER TRIG_UP,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 64				;return button up
BUTTON VK_RETURN
TRIGGER TRIG_UP,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 68				;set highlight flg whicj will be used to abort
BUTTON VK_ESCAPE
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 68				;set highlight flg whicj will be used to abort
BUTTON VK_RETURN
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 68				;set highlight flg whicj will be used to abort
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

ENDSWITCHMODE


;**********************************************
; For the help box
;**********************************************
SWITCHMODE			;sw_icons 

EVENT 9				;esc_icons
BUTTON VK_ESCAPE
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 28					;back button lit
BUTTON	VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
MULTIREG 0,214,194,266,213,322,195,374,214,472,194,524,213,0,0,0,0
ENDEVENT

EVENT 29					;next button lit
BUTTON	VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
MULTIREG 1,267,194,319,213,375,195,427,214,525,194,577,213,0,0,0,0
ENDEVENT

EVENT 30					;more button lit
BUTTON	VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
MULTIREG 2,320,194,372,213,428,195,480,214,578,194,630,213,0,0,0,0
ENDEVENT

EVENT 31					;done button lit
BUTTON	VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
MULTIREG 3,373,194,425,213,481,195,534,214,631,194,683,213,0,0,0,0
ENDEVENT

EVENT 60				;shift button down
BUTTON VK_SHIFT
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 61				;shift button up
BUTTON VK_SHIFT
TRIGGER TRIG_UP,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 64				;return button up
BUTTON VK_RETURN
TRIGGER TRIG_UP,TRIG_SINGLE_CLICK
ENDEVENT

ENDSWITCHMODE

;**********************************************
;**********************************************

SWITCHMODE			;help screens 3 

EVENT 9				;esc_icons
BUTTON VK_ESCAPE
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 19					;c1a button lit
BUTTON	VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
MULTIREG 0,226,165,246,186,334,166,354,187,485,166,505,187,0,0,200,200
ENDEVENT

EVENT 20					;c1b button lit
BUTTON	VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
MULTIREG 1,247,165,267,186,355,166,375,187,506,166,526,187,0,0,200,200
ENDEVENT

EVENT 21					;c1c button lit
BUTTON	VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
MULTIREG 2,268,165,288,186,376,166,396,187,527,166,547,187,0,0,200,200
ENDEVENT

EVENT 22					;b1a button lit
BUTTON	VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
MULTIREG 3,289,165,309,186,397,166,417,187,548,166,568,187,0,0,200,200
ENDEVENT

EVENT 23					;b1b button lit
BUTTON	VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
MULTIREG 4,310,165,330,186,418,166,438,187,569,166,589,187,0,0,200,200
ENDEVENT

EVENT 24					;b1c button lit
BUTTON	VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
MULTIREG 5,331,165,351,186,439,166,459,187,590,166,610,187,0,0,200,200
ENDEVENT

EVENT 25					;a1a button lit
BUTTON	VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
MULTIREG 6,352,165,372,186,460,166,480,187,611,166,631,187,0,0,200,200
ENDEVENT

EVENT 26					;a1b button lit
BUTTON	VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
MULTIREG 7,373,165,393,186,481,166,501,187,632,166,652,187,0,0,200,200
ENDEVENT

EVENT 27					;a1c button lit
BUTTON	VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
MULTIREG 8,394,165,415,186,502,166,522,187,653,166,673,187,0,0,200,200
ENDEVENT


EVENT 28					;back button lit
BUTTON	VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
MULTIREG 0,214,194,266,213,322,195,374,214,472,194,524,213,0,0,0,0
ENDEVENT

EVENT 29					;next button lit
BUTTON	VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
MULTIREG 1,267,194,319,213,375,195,427,214,525,194,577,213,0,0,0,0
ENDEVENT

EVENT 30					;more button lit
BUTTON	VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
MULTIREG 2,320,194,372,213,428,195,480,214,578,194,630,213,0,0,0,0
ENDEVENT

EVENT 31					;done button lit
BUTTON	VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
MULTIREG 3,373,194,425,213,481,195,534,214,631,194,683,213,0,0,0,0
ENDEVENT

EVENT 60				;shift button down
BUTTON VK_SHIFT
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 61				;shift button up
BUTTON VK_SHIFT
TRIGGER TRIG_UP,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 64				;return button up
BUTTON VK_RETURN
TRIGGER TRIG_UP,TRIG_SINGLE_CLICK
ENDEVENT

ENDSWITCHMODE

;**********************************************
; game shell area
;**********************************************

SWITCHMODE			;sw_shell 4 menu (pick game types menu)

EVENT 0				;exit shell
BUTTON VK_ESCAPE
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 2				;pick selection and leave
BUTTON VK_RETURN
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 3					;local button
TRIGGER TRIG_REGION
REGION 1,10,20,84,60
ENDEVENT

EVENT 4					;local button pushed
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 1,10,20,84,60
ENDEVENT

EVENT 26				;local button help
TRIGGER TRIG_REGION
DELAY 30
REGION 1,10,20,84,60
ENDEVENT

EVENT 3					;lan button
TRIGGER TRIG_REGION
REGION 2,10,84,84,124
ENDEVENT


EVENT 27				;lan button help
TRIGGER TRIG_REGION
DELAY 30
REGION 2,10,84,84,124
ENDEVENT

EVENT 3					;modem button
TRIGGER TRIG_REGION
REGION 3,10,148,84,188
ENDEVENT


EVENT 28				;modem button help
TRIGGER TRIG_REGION
DELAY 30
REGION 3,10,148,84,188
ENDEVENT

EVENT 3					;dlink button
TRIGGER TRIG_REGION
REGION 4,10,212,84,252
ENDEVENT


EVENT 29				;dlink button help
TRIGGER TRIG_REGION
DELAY 30
REGION 4,10,212,84,252
ENDEVENT

EVENT 3					;inet button
TRIGGER TRIG_REGION
REGION 5,10,276,84,316
ENDEVENT


EVENT 30				;inet button help
TRIGGER TRIG_REGION
DELAY 30
REGION 5,10,276,84,316
ENDEVENT

EVENT 3					;score button
TRIGGER TRIG_REGION
REGION 6,10,340,84,380
ENDEVENT


EVENT 3					;load button
TRIGGER TRIG_REGION
REGION 7,10,403,84,443
ENDEVENT


EVENT 3					;exit button
TRIGGER TRIG_REGION
REGION 8,545,424,619,465
ENDEVENT

EVENT 32				;exit button pushed
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 8,545,424,619,465
ENDEVENT

EVENT 53				;shift button down
BUTTON VK_SHIFT
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 52				;shift button up
BUTTON VK_SHIFT
TRIGGER TRIG_UP,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 54				;buttons
BUTTON VK_TAB,		;left or right mouse
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK ;single click or double click, one shot, continuous, first then delayed
ENDEVENT

EVENT 12				;choices
BUTTON VK_UP
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK,	//single click or double click, one shot, continuous, first then delayed
ENDEVENT

EVENT 13				;choices
BUTTON VK_DOWN,
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK ;single click or double click, one shot, continuous, first then delayed
ENDEVENT

EVENT 3					;player 1 found
TRIGGER TRIG_REGION
REGION 9,150,92,593,157
ENDEVENT

EVENT 14				;hilight 1 player 1
TRIGGER TRIG_REGION
REGION 9,150,92,593,157
ENDEVENT

EVENT 25				;hilight 1 picked  player 1
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 9,150,92,593,157
ENDEVENT

EVENT 3					;player 2 found
TRIGGER TRIG_REGION
REGION 9,143,161,593,226
ENDEVENT

EVENT 15				;hilight 2 player 2
TRIGGER TRIG_REGION
REGION 9,143,161,593,226
ENDEVENT

EVENT 25				;hilight 2 picked player 2
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 9,143,161,593,226
ENDEVENT

EVENT 3					;player 3 found
TRIGGER TRIG_REGION
REGION 9,146,230,593,295
ENDEVENT

EVENT 16				;hilight 3 player 3
TRIGGER TRIG_REGION
REGION 9,146,230,593,295
ENDEVENT

EVENT 25				;hilight 3 picked player 3
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 9,146,230,593,295
ENDEVENT

EVENT 3					;player 4 found
TRIGGER TRIG_REGION
REGION 9,141,305,593,370
ENDEVENT

EVENT 17				;hilight 4 player 4
TRIGGER TRIG_REGION
REGION 9,145,305,601,370
ENDEVENT

EVENT 25				;hilight 4 picked player 4
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 9,145,305,601,370
ENDEVENT

EVENT 3					;shadow found
TRIGGER TRIG_REGION
REGION 10,141,360,593,425
ENDEVENT

EVENT 37				;hilight shadow
TRIGGER TRIG_REGION
REGION 10,145,360,601,425
ENDEVENT

EVENT 25				;hilight shadow picked 
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 10,145,360,601,425
ENDEVENT

EVENT 18				;start spinning ball
TRIGGER TRIG_REGION
REGION 11,0,0,639,479
ENDEVENT

ENDSWITCHMODE

;**********************************************
;host / join	MENU2
;**********************************************

SWITCHMODE			;5

EVENT 0				;exit shell
BUTTON VK_ESCAPE
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 2				;pick selection and leave
BUTTON VK_RETURN
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 3					;local button
TRIGGER TRIG_REGION
REGION 1,10,20,84,60
ENDEVENT

EVENT 4					;local button pushed
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 1,10,20,84,60
ENDEVENT

EVENT 26				;local button help
TRIGGER TRIG_REGION
DELAY 30
REGION 1,10,20,84,60
ENDEVENT

EVENT 3					;lan button
TRIGGER TRIG_REGION
REGION 2,10,84,84,124
ENDEVENT

EVENT 5					;lan button pushed
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 2,10,84,84,124
ENDEVENT

EVENT 27				;lan button help
TRIGGER TRIG_REGION
DELAY 30
REGION 2,10,84,84,124
ENDEVENT

EVENT 3					;modem button
TRIGGER TRIG_REGION
REGION 3,10,148,84,188
ENDEVENT

EVENT 6					;modem button pushed
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 3,10,148,84,188
ENDEVENT

EVENT 28				;modem button help
TRIGGER TRIG_REGION
DELAY 30
REGION 3,10,148,84,188
ENDEVENT

EVENT 3					;dlink button
TRIGGER TRIG_REGION
REGION 4,10,212,84,252
ENDEVENT

EVENT 7					;dlink button pushed
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 4,10,212,84,252
ENDEVENT

EVENT 29				;dlink button help
TRIGGER TRIG_REGION
DELAY 30
REGION 4,10,212,84,252
ENDEVENT

EVENT 3					;inet button
TRIGGER TRIG_REGION
REGION 5,10,276,84,316
ENDEVENT

EVENT 8					;inet button pushed
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 5,10,276,84,316
ENDEVENT

EVENT 30				;inet button help
TRIGGER TRIG_REGION
DELAY 30
REGION 5,10,276,84,316
ENDEVENT

EVENT 3					;score button
TRIGGER TRIG_REGION
REGION 6,10,340,84,380
ENDEVENT

EVENT 9					;score button pushed
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 6,10,340,84,380
ENDEVENT

EVENT 3					;load button
TRIGGER TRIG_REGION
REGION 7,10,403,84,443
ENDEVENT

EVENT 24				;load button pushed
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 7,10,403,84,443
ENDEVENT

EVENT 3					;exit button
TRIGGER TRIG_REGION
REGION 8,545,424,619,465
ENDEVENT

EVENT 32				;exit button pushed
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 8,545,424,619,465
ENDEVENT


EVENT 53				;shift button down
BUTTON VK_SHIFT
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 52				;shift button up
BUTTON VK_SHIFT
TRIGGER TRIG_UP,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 54				;buttons
BUTTON VK_TAB,		;left or right mouse
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK ;single click or double click, one shot, continuous, first then delayed
ENDEVENT
	
EVENT 12				;choices
BUTTON VK_UP
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK,	//single click or double click, one shot, continuous, first then delayed
ENDEVENT

EVENT 13				;choices
BUTTON VK_DOWN,
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK ;single click or double click, one shot, continuous, first then delayed
ENDEVENT

EVENT 3					;host found
TRIGGER TRIG_REGION
REGION 9,198,174,534,222
ENDEVENT

EVENT 14				;hilight host
TRIGGER TRIG_REGION
REGION 9,198,174,534,222
ENDEVENT

EVENT 25				;hilight picked	host
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 9,198,174,534,222
ENDEVENT

EVENT 3					;join found
TRIGGER TRIG_REGION
REGION 10,203,274,554,322
ENDEVENT

EVENT 15				;hilight join
TRIGGER TRIG_REGION
REGION 10,203,274,554,322
ENDEVENT

EVENT 25				;hilight picked	join
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 10,203,274,554,322
ENDEVENT

EVENT 18				;start spinning ball
TRIGGER TRIG_REGION
REGION 12,0,0,639,479
ENDEVENT

ENDSWITCHMODE

;**********************************************
;dial / recieve   MENU 3
;**********************************************

SWITCHMODE			;6 

EVENT 0				;exit shell
BUTTON VK_ESCAPE
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 2				;pick selection and leave
BUTTON VK_RETURN
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 3					;local button
TRIGGER TRIG_REGION
REGION 1,10,20,84,60
ENDEVENT

EVENT 4					;local button pushed
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 1,10,20,84,60
ENDEVENT

EVENT 26				;local button help
TRIGGER TRIG_REGION
DELAY 30
REGION 1,10,20,84,60
ENDEVENT

EVENT 3					;lan button
TRIGGER TRIG_REGION
REGION 2,10,84,84,124
ENDEVENT

EVENT 5					;lan button pushed
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 2,10,84,84,124
ENDEVENT

EVENT 27				;lan button help
TRIGGER TRIG_REGION
DELAY 30
REGION 2,10,84,84,124
ENDEVENT

EVENT 3					;modem button
TRIGGER TRIG_REGION
REGION 3,10,148,84,188
ENDEVENT

EVENT 6					;modem button pushed
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 3,10,148,84,188
ENDEVENT

EVENT 28				;modem button help
TRIGGER TRIG_REGION
DELAY 30
REGION 3,10,148,84,188
ENDEVENT

EVENT 3					;dlink button
TRIGGER TRIG_REGION
REGION 4,10,212,84,252
ENDEVENT

EVENT 7					;dlink button pushed
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 4,10,212,84,252
ENDEVENT

EVENT 29				;dlink button help
TRIGGER TRIG_REGION
DELAY 30
REGION 4,10,212,84,252
ENDEVENT

EVENT 3					;inet button
TRIGGER TRIG_REGION
REGION 5,10,276,84,316
ENDEVENT

EVENT 8					;inet button pushed
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 5,10,276,84,316
ENDEVENT

EVENT 30				;inet button help
TRIGGER TRIG_REGION
DELAY 30
REGION 5,10,276,84,316
ENDEVENT

EVENT 3					;score button
TRIGGER TRIG_REGION
REGION 6,10,340,84,380
ENDEVENT

EVENT 9					;score button pushed
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 6,10,340,84,380
ENDEVENT

EVENT 3					;load button
TRIGGER TRIG_REGION
REGION 7,10,403,84,443
ENDEVENT

EVENT 24				;load button pushed
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 7,10,403,84,443
ENDEVENT

EVENT 3					;exit button
TRIGGER TRIG_REGION
REGION 8,545,424,619,465
ENDEVENT

EVENT 32				;exit button pushed
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 8,545,424,619,465
ENDEVENT

EVENT 53				;shift button down
BUTTON VK_SHIFT
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 52				;shift button up
BUTTON VK_SHIFT
TRIGGER TRIG_UP,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 54				;buttons
BUTTON VK_TAB,		;left or right mouse
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK ;single click or double click, one shot, continuous, first then delayed
ENDEVENT
	
EVENT 12				;choices
BUTTON VK_UP
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK,	//single click or double click, one shot, continuous, first then delayed
ENDEVENT

EVENT 13				;choices
BUTTON VK_DOWN,
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK ;single click or double click, one shot, continuous, first then delayed
ENDEVENT

EVENT 3					;dial found
TRIGGER TRIG_REGION
REGION 9,295,174,451,221
ENDEVENT

EVENT 14				;hilight dial
TRIGGER TRIG_REGION
REGION 9,295,174,451,221
ENDEVENT

EVENT 25				;hilight picked	dial
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 9,295,174,451,221
ENDEVENT

EVENT 3					;recieve found
TRIGGER TRIG_REGION
REGION 10,239,274,510,321
ENDEVENT

EVENT 15				;hilight recieve
TRIGGER TRIG_REGION
REGION 10,239,274,510,321
ENDEVENT

EVENT 25				;hilight picked	recieve
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 10,239,274,510,321
ENDEVENT

EVENT 18				;start spinning ball
TRIGGER TRIG_REGION
REGION 12,0,0,639,479
ENDEVENT

ENDSWITCHMODE

;**********************************************
;yes /no   MENU 4
;**********************************************

SWITCHMODE			;7 

EVENT 0				;exit shell
BUTTON VK_ESCAPE
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 2				;pick selection and leave
BUTTON VK_RETURN
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 3					;local button
TRIGGER TRIG_REGION
REGION 1,10,20,84,60
ENDEVENT

EVENT 4					;local button pushed
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 1,10,20,84,60
ENDEVENT

EVENT 26				;local button help
TRIGGER TRIG_REGION
DELAY 30
REGION 1,10,20,84,60
ENDEVENT

EVENT 3					;lan button
TRIGGER TRIG_REGION
REGION 2,10,84,84,124
ENDEVENT

EVENT 5					;lan button pushed
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 2,10,84,84,124
ENDEVENT

EVENT 27				;lan button help
TRIGGER TRIG_REGION
DELAY 30
REGION 2,10,84,84,124
ENDEVENT

EVENT 3					;modem button
TRIGGER TRIG_REGION
REGION 3,10,148,84,188
ENDEVENT

EVENT 6					;modem button pushed
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 3,10,148,84,188
ENDEVENT

EVENT 28				;modem button help
TRIGGER TRIG_REGION
DELAY 30
REGION 3,10,148,84,188
ENDEVENT

EVENT 3					;dlink button
TRIGGER TRIG_REGION
REGION 4,10,212,84,252
ENDEVENT

EVENT 7					;dlink button pushed
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 4,10,212,84,252
ENDEVENT

EVENT 29				;dlink button help
TRIGGER TRIG_REGION
DELAY 30
REGION 4,10,212,84,252
ENDEVENT

EVENT 3					;inet button
TRIGGER TRIG_REGION
REGION 5,10,276,84,316
ENDEVENT

EVENT 8					;inet button pushed
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 5,10,276,84,316
ENDEVENT

EVENT 30				;inet button help
TRIGGER TRIG_REGION
DELAY 30
REGION 5,10,276,84,316
ENDEVENT

EVENT 3					;score button
TRIGGER TRIG_REGION
REGION 6,10,340,84,380
ENDEVENT

EVENT 9					;score button pushed
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 6,10,340,84,380
ENDEVENT

EVENT 3					;load button
TRIGGER TRIG_REGION
REGION 7,10,403,84,443
ENDEVENT

EVENT 24				;load button pushed
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 7,10,403,84,443
ENDEVENT

EVENT 3					;exit button
TRIGGER TRIG_REGION
REGION 8,545,424,619,465
ENDEVENT

EVENT 32				;exit button pushed
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 8,545,424,619,465
ENDEVENT

EVENT 53				;shift button down
BUTTON VK_SHIFT
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 52				;shift button up
BUTTON VK_SHIFT
TRIGGER TRIG_UP,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 54				;buttons
BUTTON VK_TAB,		;left or right mouse
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK ;single click or double click, one shot, continuous, first then delayed
ENDEVENT
	
EVENT 12				;choices
BUTTON VK_UP
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK,	//single click or double click, one shot, continuous, first then delayed
ENDEVENT

EVENT 13				;choices
BUTTON VK_DOWN,
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK ;single click or double click, one shot, continuous, first then delayed
ENDEVENT

EVENT 3					;yes found
TRIGGER TRIG_REGION
REGION 9,311,174,426,221
ENDEVENT

EVENT 14				;hilight yes
TRIGGER TRIG_REGION
REGION 9,311,174,426,221
ENDEVENT

EVENT 25				;hilight picked	yes
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 9,311,174,426,221
ENDEVENT

EVENT 3					;no found
TRIGGER TRIG_REGION
REGION 10,328,275,416,322
ENDEVENT

EVENT 15				;hilight no
TRIGGER TRIG_REGION
REGION 10,328,275,416,322
ENDEVENT

EVENT 4				;hilight picked	no
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 10,328,275,416,322
ENDEVENT

EVENT 18				;start spinning ball
TRIGGER TRIG_REGION
REGION 12,0,0,639,479
ENDEVENT

ENDSWITCHMODE

;**********************************************
;Load screen   MENU 5
;**********************************************

SWITCHMODE			;8 

EVENT 0				;exit shell
BUTTON VK_ESCAPE
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 46				;pick selection and leave
BUTTON VK_RETURN
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 3					;local button
TRIGGER TRIG_REGION
REGION 1,10,20,84,60
ENDEVENT

EVENT 4					;local button pushed
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 1,10,20,84,60
ENDEVENT

EVENT 26				;local button help
TRIGGER TRIG_REGION
DELAY 30
REGION 1,10,20,84,60
ENDEVENT

EVENT 3					;lan button
TRIGGER TRIG_REGION
REGION 2,10,84,84,124
ENDEVENT

EVENT 5					;lan button pushed
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 2,10,84,84,124
ENDEVENT

EVENT 27				;lan button help
TRIGGER TRIG_REGION
DELAY 30
REGION 2,10,84,84,124
ENDEVENT

EVENT 3					;modem button
TRIGGER TRIG_REGION
REGION 3,10,148,84,188
ENDEVENT

EVENT 6					;modem button pushed
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 3,10,148,84,188
ENDEVENT

EVENT 28				;modem button help
TRIGGER TRIG_REGION
DELAY 30
REGION 3,10,148,84,188
ENDEVENT

EVENT 3					;dlink button
TRIGGER TRIG_REGION
REGION 4,10,212,84,252
ENDEVENT

EVENT 7					;dlink button pushed
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 4,10,212,84,252
ENDEVENT

EVENT 29				;dlink button help
TRIGGER TRIG_REGION
DELAY 30
REGION 4,10,212,84,252
ENDEVENT

EVENT 3					;inet button
TRIGGER TRIG_REGION
REGION 5,10,276,84,316
ENDEVENT

EVENT 8					;inet button pushed
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 5,10,276,84,316
ENDEVENT

EVENT 30				;inet button help
TRIGGER TRIG_REGION
DELAY 30
REGION 5,10,276,84,316
ENDEVENT

EVENT 3					;score button
TRIGGER TRIG_REGION
REGION 6,10,340,84,380
ENDEVENT

EVENT 9					;score button pushed
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 6,10,340,84,380
ENDEVENT

EVENT 3					;load button
TRIGGER TRIG_REGION
REGION 7,10,403,84,443
ENDEVENT

EVENT 24				;load button pushed
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 7,10,403,84,443
ENDEVENT

EVENT 3					;exit button
TRIGGER TRIG_REGION
REGION 8,545,424,619,465
ENDEVENT

EVENT 32				;exit button pushed
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 8,545,424,619,465
ENDEVENT

EVENT 53				;shift button down
BUTTON VK_SHIFT
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 52				;shift button up
BUTTON VK_SHIFT
TRIGGER TRIG_UP,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 54				;buttons
BUTTON VK_TAB,		;left or right mouse
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK ;single click or double click, one shot, continuous, first then delayed
ENDEVENT

EVENT 12				;choices
BUTTON VK_UP
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK,	//single click or double click, one shot, continuous, first then delayed
ENDEVENT

EVENT 13				;choices
BUTTON VK_DOWN,
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK ;single click or double click, one shot, continuous, first then delayed
ENDEVENT

EVENT 3					;player 1 found
TRIGGER TRIG_REGION
REGION 9,160,92,593,157
ENDEVENT

EVENT 14				;hilight 1 player 1
TRIGGER TRIG_REGION
REGION 9,160,92,593,157
ENDEVENT

EVENT 46				;hilight 1 picked  player 1
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 9,160,92,593,157
ENDEVENT

EVENT 3					;player 2 found
TRIGGER TRIG_REGION
REGION 9,160,181,593,246
ENDEVENT

EVENT 15				;hilight 2 player 2
TRIGGER TRIG_REGION
REGION 9,160,181,593,246
ENDEVENT

EVENT 46				;hilight 2 picked player 2
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 9,160,181,593,246
ENDEVENT

EVENT 3					;player 3 found
TRIGGER TRIG_REGION
REGION 9,160,270,593,337
ENDEVENT

EVENT 16				;hilight 3 player 3
TRIGGER TRIG_REGION
REGION 9,160,270,593,337
ENDEVENT

EVENT 46				;hilight 3 picked player 3
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 9,160,270,593,337
ENDEVENT

EVENT 48				;arrowr up hilighted
TRIGGER TRIG_REGION
REGION 10,110,50,159,90
ENDEVENT

EVENT 50				;arrow r up click
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 10,110,50,159,90
ENDEVENT

EVENT 48				;arrowr up hilighted / mess
TRIGGER TRIG_REGION
DELAY 30
REGION 10,110,50,159,90
ENDEVENT

EVENT 49				;arrowl dw hilighted
TRIGGER TRIG_REGION
REGION 11,110,300,159,340
ENDEVENT

EVENT 51				;arrow l dw click
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 11,110,300,159,340
ENDEVENT

EVENT 49				;arrowl dw hilighted  / mess
TRIGGER TRIG_REGION
DELAY 30
REGION 11,110,300,159,340
ENDEVENT

ENDSWITCHMODE

;**********************************************
;(pick stroke or skins play)
;**********************************************

SWITCHMODE			;9

EVENT 0				;exit shell
BUTTON VK_ESCAPE
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 2				;exit screen
BUTTON VK_RETURN
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 4				;
BUTTON VK_LEFT
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 5				;
BUTTON VK_RIGHT,	;left or right mouse
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK 
ENDEVENT
	
EVENT 3				;mouse stops
TRIGGER TRIG_REGION
REGION 0,100,50,150,479
ENDEVENT

EVENT 33				;mouse pushed to hilight
TRIGGER TRIG_REGION
REGION 0,50,50,300,400
ENDEVENT

EVENT 21				;mouse pushed to hilight
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 0,50,50,300,400
ENDEVENT

EVENT 3				;mouse stops
TRIGGER TRIG_REGION
REGION 1,400,60,450,479
ENDEVENT

EVENT 34				;mouse pushed
TRIGGER TRIG_REGION
REGION 1,330,60,600,479
ENDEVENT

EVENT 22				;mouse pushed
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 1,330,60,600,479
ENDEVENT

EVENT 18			;mouse spins
TRIGGER TRIG_REGION	
REGION 2,0,0,639,479
ENDEVENT


ENDSWITCHMODE

;**********************************************
;(pick one of the three courses)
;**********************************************

SWITCHMODE			;10

EVENT 0				;exit shell
BUTTON VK_ESCAPE
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 2				;exit screen
BUTTON VK_RETURN
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 19				;
BUTTON VK_LEFT
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK,	//single click or double click, one shot, continuous, first then delayed
ENDEVENT

EVENT 20				;
BUTTON VK_RIGHT,	;left or right mouse
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK ;single click or double click, one shot, continuous, first then delayed
ENDEVENT
	
EVENT 33				;course 1 hilight
TRIGGER TRIG_REGION
REGION 0,26,134,156,319
ENDEVENT

EVENT 21				;course 1 pick
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 0,26,134,156,319
ENDEVENT

EVENT 3				;course 1 cursor over
TRIGGER TRIG_REGION
REGION 0,26,134,156,319
ENDEVENT

EVENT 34				;course 2
TRIGGER TRIG_REGION
REGION 1,186,150,393,318
ENDEVENT

EVENT 22				;course 2
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 1,186,150,393,318
ENDEVENT

EVENT 3				;course 2 hilighted
TRIGGER TRIG_REGION
REGION 1,186,150,393,318
ENDEVENT

EVENT 45				;course 3
TRIGGER TRIG_REGION
REGION 2,422,133,617,312
ENDEVENT

EVENT 23				;course 3
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 2,422,133,617,312
ENDEVENT

EVENT 3				;course 3 hilighted
TRIGGER TRIG_REGION
REGION 2,422,133,617,312
ENDEVENT

EVENT 48				;arrowr hilighted
TRIGGER TRIG_REGION
REGION 3,588,416,630,470
ENDEVENT

EVENT 50				;arrow r click
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 3,588,416,630,470
ENDEVENT

EVENT 48				;arrowr hilighted / mess
TRIGGER TRIG_REGION
DELAY 30
REGION 3,588,416,630,470
ENDEVENT

EVENT 49				;arrowl hilighted
TRIGGER TRIG_REGION
REGION 4,10,416,52,470
ENDEVENT

EVENT 51				;arrow l click
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 4,10,416,52,470
ENDEVENT

EVENT 49				;arrowl hilighted  / mess
TRIGGER TRIG_REGION
DELAY 30
REGION 4,10,416,52,470
ENDEVENT

EVENT 18				;mouse starts spinning
TRIGGER TRIG_REGION
REGION 5,0,0,639,479
ENDEVENT

ENDSWITCHMODE
;**********************************************
; Escape screen
;**********************************************

SWITCHMODE			;11


EVENT 9				;esc_icons
BUTTON VK_ESCAPE
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 33				;exit screen
BUTTON VK_RETURN
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 11				;move up
BUTTON VK_UP
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 12				;move down
BUTTON VK_DOWN
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 19				;hilight options
TRIGGER TRIG_REGION
REGION 1,232,98,453,131
ENDEVENT

EVENT 14				;options icons
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 1,232,98,453,131
ENDEVENT

EVENT 20				;hilight help
TRIGGER TRIG_REGION
REGION 2,308,138,378,171
ENDEVENT

EVENT 7				;help icons
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 2,308,138,378,171
ENDEVENT

EVENT 21				;hilight lights
TRIGGER TRIG_REGION
REGION 3,264,178,422,211
ENDEVENT

EVENT 68				;highlights
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 3,264,178,422,211
ENDEVENT

EVENT 22				;hilight restart
TRIGGER TRIG_REGION
REGION 4,229,218,457,244
ENDEVENT

EVENT 33				;restart game 67
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 4,229,218,457,244
ENDEVENT

EVENT 23				;hilight newgame
TRIGGER TRIG_REGION
REGION 5,261,258,425,284
ENDEVENT

EVENT 33				;new game 65
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 5,261,258,425,284
ENDEVENT

EVENT 24				;hilight play alone
TRIGGER TRIG_REGION
REGION 6,262,298,423,331
ENDEVENT

EVENT 33				;play alone	 36
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 6,262,298,423,331
ENDEVENT

EVENT 25				;hilight quit
TRIGGER TRIG_REGION
REGION 7,308,338,377,370
ENDEVENT

EVENT 33				;quit 62
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 7,308,338,377,370
ENDEVENT

EVENT 26				;hilight done
TRIGGER TRIG_REGION
REGION 8,414,348,454,380
ENDEVENT

EVENT 9						;done
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 8,414,348,454,380
ENDEVENT


ENDSWITCHMODE

;**********************************************
;(score card and misc screens)  in game screen not related to above
;**********************************************

SWITCHMODE			;12

EVENT 10				;exit screen
BUTTON VK_RETURN
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 10				;mouse click
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 1,0,0,639,479
ENDEVENT

EVENT 60				;shift button down
BUTTON VK_SHIFT
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 61				;shift button up
BUTTON VK_SHIFT
TRIGGER TRIG_UP,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 64				;return button up
BUTTON VK_RETURN
TRIGGER TRIG_UP,TRIG_SINGLE_CLICK
ENDEVENT

ENDSWITCHMODE

;**********************************************
;(enter initials screens)	Great Shots
;**********************************************

SWITCHMODE			;13

EVENT 37				;exit screen pick one letter
BUTTON VK_RETURN
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 69				;mouse click
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 60				;shift button down
BUTTON VK_SHIFT
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 61				;shift button up
BUTTON VK_SHIFT
TRIGGER TRIG_UP,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 37				;get keyboard letters
BUTTON KEYBOARD
TRIGGER TRIG_DOWN,TRIG_CONTINUOUS
DELAY 20
ENDEVENT

EVENT 64				;return button up
BUTTON VK_RETURN
TRIGGER TRIG_UP,TRIG_SINGLE_CLICK
ENDEVENT

ENDSWITCHMODE

;******************Title Screen********************

;**********************************************
;**********************************************

SWITCHMODE			;14

EVENT 10				;start
BUTTON VK_RETURN
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 10				;click to go
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 1,0,0,639,479
ENDEVENT

ENDSWITCHMODE

;******************Multi Screen********************
; INTERNET screen for choosing game/chat
;**************************************************

SWITCHMODE			;15 SW_MULTI

EVENT 11				;return button
BUTTON VK_RETURN
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 12				;shift button down
BUTTON VK_SHIFT
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 13				;shift button up
BUTTON VK_SHIFT
TRIGGER TRIG_UP,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 14				;keyboard
BUTTON KEYBOARD
TRIGGER TRIG_DOWN,TRIG_CONTINUOUS
DELAY 15
ENDEVENT

EVENT 15				
BUTTON VK_ESCAPE                        ;escape key hit
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 16				;left mouse button down
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 17				;left mouse button up
BUTTON VK_LBUTTON
TRIGGER TRIG_UP,TRIG_SINGLE_CLICK
ENDEVENT

ENDSWITCHMODE

;**********************************************
;in janes stuff for adding internet screen
;**********************************************

SWITCHMODE			;16

EVENT 0				;exit shell
BUTTON VK_ESCAPE
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 2				;pick selection and leave
BUTTON VK_RETURN
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 3					;local button
TRIGGER TRIG_REGION
REGION 1,10,20,84,60
ENDEVENT

EVENT 4					;local button pushed
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 1,10,20,84,60
ENDEVENT

EVENT 26				;local button help
TRIGGER TRIG_REGION
DELAY 30
REGION 1,10,20,84,60
ENDEVENT

EVENT 3					;lan button
TRIGGER TRIG_REGION
REGION 2,10,84,84,124
ENDEVENT

EVENT 5					;lan button pushed
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 2,10,84,84,124
ENDEVENT

EVENT 27				;lan button help
TRIGGER TRIG_REGION
DELAY 30
REGION 2,10,84,84,124
ENDEVENT

EVENT 3					;modem button
TRIGGER TRIG_REGION
REGION 3,10,148,84,188
ENDEVENT

EVENT 6					;modem button pushed
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 3,10,148,84,188
ENDEVENT

EVENT 28				;modem button help
TRIGGER TRIG_REGION
DELAY 30
REGION 3,10,148,84,188
ENDEVENT

EVENT 3					;dlink button
TRIGGER TRIG_REGION
REGION 4,10,212,84,252
ENDEVENT

EVENT 7					;dlink button pushed
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 4,10,212,84,252
ENDEVENT

EVENT 29				;dlink button help
TRIGGER TRIG_REGION
DELAY 30
REGION 4,10,212,84,252
ENDEVENT

EVENT 3					;inet button
TRIGGER TRIG_REGION
REGION 5,10,276,84,316
ENDEVENT

EVENT 8					;inet button pushed
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 5,10,276,84,316
ENDEVENT

EVENT 30				;inet button help
TRIGGER TRIG_REGION
DELAY 30
REGION 5,10,276,84,316
ENDEVENT

EVENT 3					;score button
TRIGGER TRIG_REGION
REGION 6,10,340,84,380
ENDEVENT

EVENT 9					;score button pushed
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 6,10,340,84,380
ENDEVENT

EVENT 3					;load button
TRIGGER TRIG_REGION
REGION 7,10,403,84,443
ENDEVENT

EVENT 24				;load button pushed
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 7,10,403,84,443
ENDEVENT

EVENT 3					;exit button
TRIGGER TRIG_REGION
REGION 8,545,424,619,465
ENDEVENT

EVENT 32				;exit button pushed
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 8,545,424,619,465
ENDEVENT

EVENT 53				;shift button down
BUTTON VK_SHIFT
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 52				;shift button up
BUTTON VK_SHIFT
TRIGGER TRIG_UP,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 54				;buttons
BUTTON VK_TAB,		;left or right mouse
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK ;single click or double click, one shot, continuous, first then delayed
ENDEVENT
	

EVENT 3					;host found
TRIGGER TRIG_REGION
REGION 9,165,150,623,283
ENDEVENT

EVENT 25				;pick gtnet
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 9,165,155,640,285
ENDEVENT

EVENT 18				;start spinning ball
TRIGGER TRIG_REGION
REGION 12,0,0,639,479
ENDEVENT

ENDSWITCHMODE

;******************Multi Screen********************
; NETWORK create host
;**************************************************

SWITCHMODE			;17 SW_MULTI_NETWORK_CREATE_HOST

EVENT 11				;return button
BUTTON VK_RETURN
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 12				;shift button down
BUTTON VK_SHIFT
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 13				;shift button up
BUTTON VK_SHIFT
TRIGGER TRIG_UP,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 14				;keyboard
BUTTON KEYBOARD
TRIGGER TRIG_DOWN,TRIG_CONTINUOUS
DELAY 15
ENDEVENT

EVENT 15				
BUTTON VK_ESCAPE                        ;escape key hit
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 16				;left mouse button down
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 17				;left mouse button up
BUTTON VK_LBUTTON
TRIGGER TRIG_UP,TRIG_SINGLE_CLICK
ENDEVENT

ENDSWITCHMODE
;******************Multi Screen********************
; network join host
;**************************************************

SWITCHMODE			;18 SW_MULTI_NETWORK_JOIN_HOST

EVENT 11				;return button
BUTTON VK_RETURN
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 12				;shift button down
BUTTON VK_SHIFT
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 13				;shift button up
BUTTON VK_SHIFT
TRIGGER TRIG_UP,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 14				;keyboard
BUTTON KEYBOARD
TRIGGER TRIG_DOWN,TRIG_CONTINUOUS
DELAY 15
ENDEVENT

EVENT 15				
BUTTON VK_ESCAPE                        ;escape key hit
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 16				;left mouse button down
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 17				;left mouse button up
BUTTON VK_LBUTTON
TRIGGER TRIG_UP,TRIG_SINGLE_CLICK
ENDEVENT

ENDSWITCHMODE

;******************Multi Screen********************
; waiting for other players from hosting
;**************************************************

SWITCHMODE			;19 SW_MULTI_WAIT_CREATE_HOST

EVENT 11				;return button
BUTTON VK_RETURN
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 12				;shift button down
BUTTON VK_SHIFT
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 13				;shift button up
BUTTON VK_SHIFT
TRIGGER TRIG_UP,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 14				;keyboard
BUTTON KEYBOARD
TRIGGER TRIG_DOWN,TRIG_CONTINUOUS
DELAY 15
ENDEVENT

EVENT 15				
BUTTON VK_ESCAPE                        ;escape key hit
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 16				;left mouse button down
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 17				;left mouse button up
BUTTON VK_LBUTTON
TRIGGER TRIG_UP,TRIG_SINGLE_CLICK
ENDEVENT

ENDSWITCHMODE

;******************Multi Screen********************
; waiting for other players when joining a game
;**************************************************

SWITCHMODE			;20 SW_MULTI_WAIT_JOIN_HOST

EVENT 11				;return button
BUTTON VK_RETURN
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 12				;shift button down
BUTTON VK_SHIFT
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 13				;shift button up
BUTTON VK_SHIFT
TRIGGER TRIG_UP,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 14				;keyboard
BUTTON KEYBOARD
TRIGGER TRIG_DOWN,TRIG_CONTINUOUS
DELAY 15
ENDEVENT

EVENT 15				
BUTTON VK_ESCAPE                        ;escape key hit
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 16				;left mouse button down
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 17				;left mouse button up
BUTTON VK_LBUTTON
TRIGGER TRIG_UP,TRIG_SINGLE_CLICK
ENDEVENT

ENDSWITCHMODE

;******************Multi Screen****************
; pop up box one button
;**********************************************
SWITCHMODE			;21 SW_MULTI_POPUP_ONE

EVENT 11				;pressed return
BUTTON VK_RETURN
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 12				;shift button down
BUTTON VK_SHIFT
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 13				;shift button up
BUTTON VK_SHIFT
TRIGGER TRIG_UP,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 15				
BUTTON VK_ESCAPE                        ;escape key hit
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 16				;left mouse button down
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 17				;left mouse button up
BUTTON VK_LBUTTON
TRIGGER TRIG_UP,TRIG_SINGLE_CLICK
ENDEVENT

ENDSWITCHMODE
;******************Multi Screen****************
; pop up box two buttons and an entry
;**********************************************

SWITCHMODE			;22 SW_MULTI_POPUP_THREE

EVENT 11
BUTTON VK_RETURN
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 12				;shift button down
BUTTON VK_SHIFT
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 13				;shift button up
BUTTON VK_SHIFT
TRIGGER TRIG_UP,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 15				
BUTTON VK_ESCAPE              ;escape key hit
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 14				;keyboard
BUTTON KEYBOARD
TRIGGER TRIG_DOWN,TRIG_CONTINUOUS
DELAY 15
ENDEVENT

EVENT 16				;left mouse button down
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 17				;left mouse button up
BUTTON VK_LBUTTON
TRIGGER TRIG_UP,TRIG_SINGLE_CLICK
ENDEVENT

ENDSWITCHMODE

;******************Multi Screen********************
; create host internet
;**************************************************

SWITCHMODE			;23 SW_MULTI_INTERNET_CREATE_HOST

EVENT 11				;return button
BUTTON VK_RETURN
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 12				;shift button down
BUTTON VK_SHIFT
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 13				;shift button up
BUTTON VK_SHIFT
TRIGGER TRIG_UP,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 14				;keyboard
BUTTON KEYBOARD
TRIGGER TRIG_DOWN,TRIG_CONTINUOUS
DELAY 15
ENDEVENT

EVENT 15				
BUTTON VK_ESCAPE                        ;escape key hit
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 16				;left mouse button down
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 17				;left mouse button up
BUTTON VK_LBUTTON
TRIGGER TRIG_UP,TRIG_SINGLE_CLICK
ENDEVENT

ENDSWITCHMODE

;******************Game Screen********************
;**************************************************

SWITCHMODE			;24 new options screen

EVENT 63				;escape icons
BUTTON VK_ESCAPE
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 41				; skill1
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 0,38,94,57,113
ENDEVENT

EVENT 41				; skill2
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 0,38,122,57,141
ENDEVENT

EVENT 41				; skill3
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 0,38,150,57,169
ENDEVENT

EVENT 41				; skill4
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 0,38,178,57,197
ENDEVENT

EVENT 41				; skill5
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 0,38,207,57,226
ENDEVENT

EVENT 52				;soft hot key
TRIGGER TRIG_REGION
DELAY 30
REGION 1,38,267,158,350
ENDEVENT

EVENT 17				; soft1
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 1,38,267,57,286
ENDEVENT

EVENT 17				; soft2
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 1,38,295,57,314
ENDEVENT

EVENT 17				; soft3
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 1,38,323,57,342
ENDEVENT

EVENT 48				;golfers hot key
TRIGGER TRIG_REGION
DELAY 30
REGION 2,182,371,301,414
ENDEVENT

EVENT 42				; golfer
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 2,182,371,201,390
ENDEVENT

EVENT 51				;fog hot key
TRIGGER TRIG_REGION
DELAY 30
REGION 3,209,94,329,226
ENDEVENT

EVENT 18				; fog1
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 3,209,94,228,113
ENDEVENT

EVENT 18				; fog2
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 3,209,122,228,141
ENDEVENT

EVENT 18				; fog3
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 3,209,150,228,169
ENDEVENT

EVENT 18				; fog4
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 3,209,178,228,197
ENDEVENT

EVENT 18				; fog5
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 3,209,207,228,226
ENDEVENT

EVENT 47				;scrn hot key
TRIGGER TRIG_REGION
DELAY 30
REGION 4,209,267,329,342
ENDEVENT

EVENT 32				; scrn1
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 4,209,267,228,286
ENDEVENT

EVENT 32				; scrn2
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 4,209,295,228,314
ENDEVENT

EVENT 32				; scrn3
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 4,209,323,228,342
ENDEVENT

EVENT 49				;approach hot key
TRIGGER TRIG_REGION
DELAY 30
REGION 6,373,99,493,116
ENDEVENT

EVENT 43				; approach
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 6,373,99,392,116
ENDEVENT

EVENT 50				;pip hot key
TRIGGER TRIG_REGION
DELAY 30
REGION 7,373,131,528,290
ENDEVENT

EVENT 44				; pip on
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 7,373,131,392,148
ENDEVENT

EVENT 45				; auto
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 7,408,158,427,177
ENDEVENT

EVENT 45				; ball cam
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 7,408,186,427,205
ENDEVENT

EVENT 45				; reverse
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 7,408,214,427,233
ENDEVENT

EVENT 45				; tv cam
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 7,408,242,427,261
ENDEVENT

EVENT 45				; pin cam
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 7,408,271,427,290
ENDEVENT

EVENT 46				; snd voice
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 8,39,380,58,397
ENDEVENT

EVENT 54				; snd music
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 8,39,408,58,425
ENDEVENT

EVENT 55				; snd effects
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 8,39,437,58,454
ENDEVENT

EVENT 53				; mouse settings
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 9,408,314,427,333
ENDEVENT

EVENT 53				; mouse settings
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 9,408,342,427,361
ENDEVENT

EVENT 53				; mouse settings
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 9,408,370,427,389
ENDEVENT

EVENT 53				; mouse settings
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 9,408,398,427,417
ENDEVENT

EVENT 53				; mouse settings
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 9,408,427,427,446
ENDEVENT

EVENT 79				;mouse hot key
TRIGGER TRIG_REGION
DELAY 30
REGION 9,408,310,500,450
ENDEVENT

EVENT 78				; mouse calibation
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 10,182,426,201,445
ENDEVENT

EVENT 77				;mouse calibation hot key
TRIGGER TRIG_REGION
DELAY 30
REGION 10,182,426,158,445
ENDEVENT

EVENT 10				; done
BUTTON VK_LBUTTON
TRIGGER TRIG_UP,TRIG_SINGLE_CLICK
REGION 11,552,417,605,452
ENDEVENT

EVENT 58				; default button
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 12,552,371,605,406
ENDEVENT

EVENT 63				;canel button
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 13,552,325,605,360
ENDEVENT

EVENT 56				; hotkey off
TRIGGER TRIG_REGION
DELAY 30
REGION 14,0,0,639,479
ENDEVENT

ENDSWITCHMODE
;******************Multi Screen********************
; MODEM create host
;**************************************************

SWITCHMODE			;25 SW_MULTI_MODEM_CREATE_HOST

EVENT 11				;return button
BUTTON VK_RETURN
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 12				;shift button down
BUTTON VK_SHIFT
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 13				;shift button up
BUTTON VK_SHIFT
TRIGGER TRIG_UP,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 14				;keyboard
BUTTON KEYBOARD
TRIGGER TRIG_DOWN,TRIG_CONTINUOUS
DELAY 15
ENDEVENT

EVENT 15				
BUTTON VK_ESCAPE                        ;escape key hit
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 16				;left mouse button down
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 17				;left mouse button up
BUTTON VK_LBUTTON
TRIGGER TRIG_UP,TRIG_SINGLE_CLICK
ENDEVENT

ENDSWITCHMODE

;******************Multi Screen********************
; MODEM choose host
;**************************************************

SWITCHMODE			;26 SW_MULTI_MODEM_CHOOSE_HOST

EVENT 11				;return button
BUTTON VK_RETURN
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 12				;shift button down
BUTTON VK_SHIFT
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 13				;shift button up
BUTTON VK_SHIFT
TRIGGER TRIG_UP,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 14				;keyboard
BUTTON KEYBOARD
TRIGGER TRIG_DOWN,TRIG_CONTINUOUS
DELAY 15
ENDEVENT

EVENT 15				
BUTTON VK_ESCAPE                        ;escape key hit
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 16				;left mouse button down
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 17				;left mouse button up
BUTTON VK_LBUTTON
TRIGGER TRIG_UP,TRIG_SINGLE_CLICK
ENDEVENT

ENDSWITCHMODE

;******************Multi Screen********************
; NETWORK create host
;**************************************************

SWITCHMODE			;27 SW_MULTI_DIRECT_CREATE_HOST

EVENT 11				;return button
BUTTON VK_RETURN
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 12				;shift button down
BUTTON VK_SHIFT
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 13				;shift button up
BUTTON VK_SHIFT
TRIGGER TRIG_UP,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 14				;keyboard
BUTTON KEYBOARD
TRIGGER TRIG_DOWN,TRIG_CONTINUOUS
DELAY 15
ENDEVENT

EVENT 15				
BUTTON VK_ESCAPE                        ;escape key hit
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 16				;left mouse button down
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 17				;left mouse button up
BUTTON VK_LBUTTON
TRIGGER TRIG_UP,TRIG_SINGLE_CLICK
ENDEVENT

ENDSWITCHMODE

;******************Multi Screen********************
; NETWORK create host
;**************************************************

SWITCHMODE			;28 SW_MULTI_DIRECT_CHOOSE_HOST

EVENT 11				;return button
BUTTON VK_RETURN
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 12				;shift button down
BUTTON VK_SHIFT
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 13				;shift button up
BUTTON VK_SHIFT
TRIGGER TRIG_UP,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 14				;keyboard
BUTTON KEYBOARD
TRIGGER TRIG_DOWN,TRIG_CONTINUOUS
DELAY 15
ENDEVENT

EVENT 15				
BUTTON VK_ESCAPE                        ;escape key hit
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 16				;left mouse button down
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 17				;left mouse button up
BUTTON VK_LBUTTON
TRIGGER TRIG_UP,TRIG_SINGLE_CLICK
ENDEVENT

ENDSWITCHMODE

;******************Attract Screen********************

;**********************************************
;**********************************************

SWITCHMODE			;29

EVENT 0				;start
BUTTON VK_ESCAPE
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 0				;start
BUTTON VK_RETURN
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 0				;click to go 47
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 1,0,0,639,479
ENDEVENT

ENDSWITCHMODE

;******************Escape Screen with confirmation Box********************

;**********************************************
;**********************************************

SWITCHMODE			;30

EVENT 70				;start
BUTTON VK_ESCAPE
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 72				;start
BUTTON VK_RETURN
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 72				;click
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 73				;click yes
BUTTON VK_LEFT
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 73				;click yes
TRIGGER TRIG_REGION
REGION 1,230,188,296,222
ENDEVENT

EVENT 74				;click no
TRIGGER TRIG_REGION
REGION 2,386,188,440,222
ENDEVENT

EVENT 74				;click no
BUTTON VK_RIGHT
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

ENDSWITCHMODE

;******************Gold Screen********************
;**************************************************

SWITCHMODE			;31 SW_SHADOW

EVENT 84				;return button
BUTTON VK_RETURN
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 86				
BUTTON VK_ESCAPE                        ;escape key hit
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 60				;shift button down
BUTTON VK_SHIFT
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 61				;shift button up
BUTTON VK_SHIFT
TRIGGER TRIG_UP,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 80				;all keys
BUTTON KEYBOARD
TRIGGER TRIG_DOWN,TRIG_CONTINUOUS
DELAY 15
ENDEVENT

EVENT 82				;slider down
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_CONTINUOUS ;single click or double click, one shot, continuous, first then delayed
REGION 1,528,90,548,370
ENDEVENT


EVENT 84				;button 1
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 2,180,380,256,436
ENDEVENT

EVENT 81				;button 1
TRIGGER TRIG_REGION
REGION 2,180,380,256,436
ENDEVENT


EVENT 86				;button 3
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 4,380,380,456,436
ENDEVENT

EVENT 81				;button 3
TRIGGER TRIG_REGION
REGION 4,380,380,456,436
ENDEVENT

EVENT 87				;no buttons
TRIGGER TRIG_REGION
REGION 5,0,0,639,479
ENDEVENT

EVENT 89				;no buttons
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_DOUBLE_CLICK
REGION 5,104,113,558,380
ENDEVENT

EVENT 88				;no buttons
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
REGION 5,104,113,558,380
ENDEVENT



ENDSWITCHMODE


;**********************************************
; Ask for shadow game
;**********************************************

SWITCHMODE			;32

EVENT 83				;start
BUTTON VK_ESCAPE
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 83				;start
BUTTON VK_RETURN
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 83				;click
BUTTON VK_LBUTTON
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 73				;click yes
BUTTON VK_LEFT
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 74				;click no
BUTTON VK_RIGHT
TRIGGER TRIG_DOWN,TRIG_SINGLE_CLICK
ENDEVENT

EVENT 73				;yes
TRIGGER TRIG_REGION
REGION 1,200,300,276,356
ENDEVENT

EVENT 74				;no
TRIGGER TRIG_REGION
REGION 2,350,300,426,356
ENDEVENT



ENDSWITCHMODE
